From 2ac63745004d385fd47599d658b03dcfbbc7b17d Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Wed, 28 Jun 2023 00:18:06 +0100 Subject: Put linking section before name section --- ...dlang.compiler.testing.snapshots.Snapshotter)].expected | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenDefineFunctionTests]/[method:canDefineMinimalFunction(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected') diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenDefineFunctionTests]/[method:canDefineMinimalFunction(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenDefineFunctionTests]/[method:canDefineMinimalFunction(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected index e0f30646..2b159ad8 100644 --- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenDefineFunctionTests]/[method:canDefineMinimalFunction(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected +++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenDefineFunctionTests]/[method:canDefineMinimalFunction(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected @@ -16,13 +16,6 @@ Function[2]: Code[2]: - func[1] size=5 - func[2] size=27 -Custom: - - name: "name" - - func[0] - - func[1] - - func[2] - - func[1] local[0] - - func[2] local[0] Custom: - name: "linking" - symbol table [count=3] @@ -34,6 +27,13 @@ Custom: - relocations for section: 3 (Code) [2] - R_WASM_FUNCTION_INDEX_LEB offset=0x000016(file=0x000097) symbol=0 - R_WASM_TABLE_INDEX_SLEB offset=0x000020(file=0x0000a1) symbol=1 +Custom: + - name: "name" + - func[0] + - func[1] + - func[2] + - func[1] local[0] + - func[2] local[0] Code Disassembly: -- cgit v1.2.3